import axios from '@/libs/api.request.js'

//退货信息添加
export const addOrderRetreat = data =>{
  return axios.request({
    url: "/api/order/retreat/orderRetreat",
    method: "post",
    data:data
  })
};

//换货信息添加
export const addOrderChange = data =>{
  return axios.request({
    url: "/api/order/change/OrderChangeAdd",
    method: "post",
    data:data
  })
};

//评价信息添加
export const addOrderComment = data =>{
  return axios.request({
    url: "/api/order/comment/orderCommentAdd",
    method: "post",
    data:data
  })
};

//多图片上传
export const uploadImages = data =>{
  return axios.request({
    url: "/api/order/retreat/upload",
    method : "post",
    data:data,
  })
}

//多图片上传
export const uploadImagesChange = data =>{
  return axios.request({
    url: "/api/order/change/upload",
    method : "post",
    data:data,
  })
}

//多图片上传
export const uploadImagesComment = data =>{
  return axios.request({
    url: "/api/order/comment/upload",
    method : "post",
    data:data,
  })
}
